package com.kang.vo;

import com.kang.bean.bot.*;
import lombok.Data;

import java.util.List;

/**
 * @program: service
 * @description:
 * @author: K.faWu
 * @create: 2022-06-09 15:34
 **/
@Data
public class CityVo extends City {
    private PopulationVo porInfo;
    //粮食仓库
    private FoodStore foodStore;
    //木材仓库
    private WoodStore woodStore;
    //矿石仓库
    private MineStore mineStore;
    //主城信息
    private WarMap warMap;
    //全部区域信息
    private List<WarMap> warMapList;

    public CityVo(){}

    public CityVo(String accountCode, String groupCode){
        super(accountCode, groupCode);
        //初始化人口
        this.porInfo = new PopulationVo(accountCode, groupCode);
        //初始化粮食
        this.foodStore = new FoodStore(accountCode, groupCode);
        //初始化木材
        this.woodStore = new WoodStore(accountCode, groupCode);
        //初始化矿石
        this.mineStore = new MineStore(accountCode, groupCode);
    }
}
